/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package 连接数据库2;
import java.io.Serializable;
/**
 *
 * @author Administrator
 */
public class Message implements Serializable{
    private Long id;
    private String name;
    private String email;
    private String msg;
    public Message(){}
    public Message(String name,String email,String mag){
        this.name=name;
        this.email=email;
        this.msg=msg;
    }
    public String getEmail(){
        return email;
    }
    public void setEmail(String email){
        this.email=email;
    }
    public Long getId(){
        return id;
    }
    public void setId(Long id){
        this.id=id;
    }
    public String getMsg(){
        return msg;
    }
    public void setMsg(String msg){
        this.msg=msg;
    }
        public String getName(){
        return msg;
    }
    public void setName(String name){
        this.name=name;
    }
}
